package cn.zs.groupmarket.domain.trade.model.aggregate;

import cn.zs.groupmarket.domain.trade.model.entity.PayActivityEntity;
import cn.zs.groupmarket.domain.trade.model.entity.PayDiscountEntity;
import cn.zs.groupmarket.domain.trade.model.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GroupBuyOrderAggregate {
    /** 用户实体对象 */
    private UserEntity userEntity;
    /** 支付活动实体对象 */
    private PayActivityEntity payActivityEntity;
    /** 支付优惠实体对象 */
    private PayDiscountEntity payDiscountEntity;
    /** 已参与拼团量 */
    private Long userTakeOrderCount;
}
